import request from '@/utils/request'

// 查询AppVersion列表
export function listAppVersion(query) {
return request({
url: '/api/v1/appversionList',
method: 'get',
params: query
})
}

// 查询AppVersion详细
export function getAppVersion (versionId) {
return request({
url: '/api/v1/appversion/' + versionId,
method: 'get'
})
}


// 新增AppVersion
export function addAppVersion(data) {
return request({
url: '/api/v1/appversion',
method: 'post',
data: data
})
}

// 修改AppVersion
export function updateAppVersion(data) {
return request({
url: '/api/v1/appversion',
method: 'put',
data: data
})
}

// 删除AppVersion
export function delAppVersion(versionId) {
return request({
url: '/api/v1/appversion/' + versionId,
method: 'delete'
})
}

